package com.wellink.android_demo.com.wellink.android_demo.listener;

import android.app.Activity;
import android.view.View;
import android.widget.Toast;

public class BtnClickListener implements View.OnClickListener {

    private Activity activity = null;

    public BtnClickListener(Activity activity) {
        this.activity = activity;
    }

    @Override
    public void onClick(View v){
        Toast.makeText(activity,"收到外部类的监听事件",Toast.LENGTH_SHORT).show();
    }
}
